class Book:
    def __init__(self,titile, author):
        self.titile = titile
        self.author = author
    def __str__(self):
        return '《%s》' % self.titile

    def __call__(self):
        print('《%s》是%s编写的' % (self.titile,self.author))


if __name__ == '__main__':
    pybook = Book('Python基础实教程（第三版）', 'Ldy')
    print(pybook)
    pybook()